﻿using Super.Admin.Entities;

namespace Super.Admin.IServices
{
    /// <summary>
    /// 图标服务接口类
    /// </summary>
    public interface IIconService : IBaseService
    {
        /// <summary>
        /// 获得所有图标
        /// </summary>
        /// <returns>图标实体集合</returns>
        IReadOnlyCollection<IconEntity> GetIcons();
        /// <summary>
        /// 创建图标
        /// </summary>
        /// <param name="iconName">图标名称</param>
        /// <param name="iconValue">图标值 一般用byte存储</param>
        void CreateIcon(string iconName, byte[] iconValue);
    }
}
